<template>
  <view class="confirm-page">
    <up-icon name="checkmark-circle-fill" color="#07C160" size="160rpx"></up-icon>
    <view class="confirm-title">提交成功</view>
    <view class="confirm-label">工作人员会在24小时内处理哦~</view>
    <up-button text="返回首页" shape="circle" color="#FF416C" @click="onReturn"></up-button>
  </view>
</template>

<script setup>
  function onReturn() {
    uni.reLaunch({
      url: "/pages/index/index"
    })
  }
</script>

<style lang="less" scoped>
  .confirm-page {
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 64rpx 40rpx;

    .confirm-title {
      font-size: 44rpx;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      margin-top: 32rpx;
    }

    .confirm-label {
      font-size: 28rpx;
      font-weight: 400;
      color: rgba(102, 102, 102, 1);
      margin-top: 16rpx;
    }

    /deep/ .u-button {
      margin-top: 64rpx;
    }
  }
</style>